home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr11 / pdox693.zip / TI132.ASC < prev    next >
Text File  |  1993-03-31  |  5KB  |  199 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.   PRODUCT  :  Paradox                                NUMBER  :  132
  9.   VERSION  :  All
  10.        OS  :  DOS
  11.      DATE  :  March 31, 1993                           PAGE  :  1/3
  12.  
  13.     TITLE  :  Useful Picture Statements
  14.  
  15.  
  16.  
  17.  
  18.   A picture is a powerful and flexible tool for controlling what a
  19.   user can type into a field during data entry.  You can use
  20.   pictures to shape and limit what the user can type into a field
  21.   and make data entry easier by filling in required or default
  22.   values automatically.
  23.  
  24.   To define a picture for a field, edit the table.  Choose Modify |
  25.   Edit and enter in the name of the table.  Next, press <F10> for
  26.   the Edit menu, and use the following menu choices: Valcheck |
  27.   Define | Picture.  At this point, enter in the picture statement
  28.   for the field.  This document contains a list of useful picture
  29.   statements.
  30.  
  31.   Pictures can also be used with the PAL Accept command.  See the
  32.   PAL Reference Guide for a discussion of the Accept command (for
  33.   version 3.5 and earlier, refer to Chapter 20 of the PAL User's
  34.   Guide).
  35.  
  36.  
  37.   Definition of Picture Symbols:
  38.  
  39.   Match characters:
  40.  
  41.        #    Accepts ONLY a numeric digit
  42.        ?    Accepts ONLY a letter EITHER upper or lower
  43.        @    Accepts ANY character
  44.        &    Accepts ONLY a letter, converts it to upper case
  45.        !    Accepts ANY character, converts letters to upper case
  46.  
  47.             Any other character typed that is not defined as a
  48.             match character or a special character is taken
  49.             literally.
  50.    
  51.   Special characters:
  52.  
  53.        ;    The next character is literal, not a picture-string
  54.             character
  55.        *    The next character can be repeated any number of times.
  56.             Or, specify how many occurrences of the next letter to
  57.             require.
  58.        []   Characters inside brackets are optional
  59.        {}   Characters inside braces are grouped
  60.        ,    Alternative values
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.   PRODUCT  :  Paradox                                NUMBER  :  132
  75.   VERSION  :  All
  76.        OS  :  DOS
  77.      DATE  :  March 31, 1993                           PAGE  :  2/3
  78.  
  79.     TITLE  :  Useful Picture Statements
  80.  
  81.  
  82.  
  83.  
  84.   Useful Picture Statements:
  85.  
  86.   ZIP Code with optional last four digits           #####[{-}####]
  87.   SSN with automatic fill in of dashes              ###-##-####
  88.   SSN with fill in of dashes using spacebar or -    ###{-}##{-}####
  89.  
  90.   Allow letters only - Spaces NOT allowed           *?
  91.   Allow letters only and capitalize the first one, spaces not
  92.   allowed:
  93.       &*?
  94.  
  95.   Allow letters only - capitalize all letters       *&
  96.  
  97.   Capitalize the first letter only of the first word
  98.       !*@
  99.   Capitalize the first letter of every word (I)     *[![*?][* ]]
  100.   Capitalize the first letter of every word (II)    !*[ * !,@]
  101.   Capitalize the first letter of every word (III)
  102.       *{ ,.}!*{{ ,.}*{ ,.}!,@}
  103.  
  104.   Capitalize the first letter of every word (IV)
  105.       *[[*#[ ]]![*?][@][ ]]
  106.  
  107.   Capitalize the first letter of every word after a comma, blank
  108.   space or parenthesis:
  109.       !*[{ ,.,(,;,}*{ ,.,(,;,}!,@]
  110.  
  111.   Simulate a Time data type with format of HH:MM:SS:
  112.       {0#,1#,2{0,1,2,3}}:{0,1,2,3,4,5}#:{0,1,2,3,4,5}#
  113.    
  114.   Simulate a Time data type with form of HH:MM and :SS optional:
  115.       {0#,1#,2{0,1,2,3}}:{0,1,2,3,4,5}#[:{0,1,2,3,4,5}#]
  116.  
  117.   Simulate a Time data type with form of HH:MM AM or HH:MM PM
  118.       {1{:,{0,1,2}:},{2,3,4,5,6,7,8,9}:}{0,1,2,3,4,5}# {AM,PM}
  119.  
  120.   Phone number w/ automatic fill in of dashes
  121.       ###-####
  122.    
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.   PRODUCT  :  Paradox                                NUMBER  :  132
  141.   VERSION  :  All
  142.        OS  :  DOS
  143.      DATE  :  March 31, 1993                           PAGE  :  3/3
  144.  
  145.     TITLE  :  Useful Picture Statements
  146.  
  147.  
  148.  
  149.  
  150.   Phone number w/ automatic dashes area code optional
  151.       [(###)]###-####
  152.  
  153.   Phone number w/1-800 optional
  154.       [{1-800-,(###)}]###-####
  155.  
  156.   Date - automatic fill in of slashes
  157.       {##/##/##,#/##/##}
  158.  
  159.   Date - forces 01 for day w/auto fill in of slashes
  160.       {##/01/##,#/01/##}
  161.  
  162.   Date - forces 01 for day w/system clock year
  163.       {##/01/[##],#/01/[##]}
  164.  
  165.   Automatic entering from a list based on partial keystrokes of
  166.   word.
  167.       {Paradox,Quattro,dBASE}
  168.  
  169.   Allows entry of Miss, Ms., Mr., or Mrs.
  170.       M{iss,s.,r{.,s.}}
  171.  
  172.   Allows additional entry of Dr., Doctor, Father, Miss, Mrs., Mr.,
  173.   Mr. & Mrs., Ms., Msgr., Pastor, and Reverend:
  174.   {D{r.,octor},Father,M{iss,r{s.,.[ ;& Mrs.]},s{.,gr.}},Pastor,Reverend}
  175.  
  176.  
  177.   DISCLAIMER: You have the right to use this technical information
  178.   subject to the terms of the No-Nonsense License Statement that
  179.   you received with the Borland product to which this information
  180.   pertains.
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.